﻿using System.Windows;
using System.Windows.Controls;

namespace Red.Controls
{
    public partial class TargetFrameControl : UserControl
    {
        public TargetFrameControl()
        {
            InitializeComponent();
        }
    }

    /// <summary>
    ///     Target frame is a simple indicator to be placed over the control marking it as a "target" of some operation
    /// </summary>
    public partial class TargetFrame : ElementFacade<TargetFrameControl>
    {
        public static readonly DependencyProperty SizeProperty =
            DependencyProperty.Register( "Size", typeof( double ), typeof( TargetFrame ),
                new FrameworkPropertyMetadata( 2.0 ) );
        
        /// <summary>
        ///     Size of corner lines
        /// </summary>
        public double Size
        {
            get { return (double)GetValue( SizeProperty ); }
            set { SetValue( SizeProperty, value ); }
        }

        public TargetFrame()
        {
        }
    }
}
